import { axios as request } from '@/utils/request'

const goodsDetailVisitAPI = {
  getPVUVData: '/analytics/hTGoodsDetailVisitAction/getPVUVData',
  getStatistics: '/analytics/hTGoodsDetailVisitAction/getStatistics',
  getDistribution: '/analytics/hTGoodsDetailVisitAction/getDistribution'
}

export function getPVUVDataRequest(parameters) {
  return request({
    url: goodsDetailVisitAPI.getPVUVData,
    method: 'get',
    data: parameters
  })
}

export function getStatisticsRequest(parameters) {
  return request({
    url: goodsDetailVisitAPI.getStatistics,
    method: 'get',
    data: parameters
  })
}

export function getDistributionRequest(parameters) {
  return request({
    url: goodsDetailVisitAPI.getDistribution,
    method: 'get',
    data: parameters
  })
}

